﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WinformDevelopFrame.Entity;
using WinformDevelopFrame.IServices;

namespace WinformDevelopFrame.IServices
{
    public interface ISysDataTableService:IBaseServices<sysDataTable>
    {
        int Add(sysDataTable sysDataTable);
        int AddList(List<sysDataTable> list);

        bool UpdateN(sysDataTable sysDataTable);
        bool UpdateList(List<sysDataTable> list);

        bool DeleteN(sysDataTable sysDataTable);
        bool DeleteList(List<sysDataTable> list);

        sysDataTable QueryById(int id);
        List<sysDataTable> QueryList(List<int> ids);
    }
}
